import request from '@/utils/request'

// 查询核心团队列表
export function listGpCoreTeam(query) {
  return request({
    url: '/gp/gpCoreTeam/list',
    method: 'get',
    params: query
  })
}

// 查询核心团队详细
export function getGpCoreTeam(id) {
  return request({
    url: '/gp/gpCoreTeam/' + id,
    method: 'get'
  })
}

// 保存核心团队
export function saveGpCoreTeam(data) {
  return request({
    url: '/gp/gpCoreTeam/save',
    method: 'post',
    data: data
  })
}

// 删除核心团队
export function delGpCoreTeam(id) {
  return request({
    url: '/gp/gpCoreTeam/' + id,
    method: 'delete'
  })
}

// 导出核心团队
export function exportGpCoreTeam(query) {
  return request({
    url: '/gp/gpCoreTeam/export',
    method: 'get',
    params: query
  })
}
